package com.p2p.front.service;

import com.p2p.front.dal.model.EmailCode;

/**
 * 
 * @author hongbo
 *
 */
public interface EmailCodeService {

	void saveEmailCode(EmailCode	emailCode);
	
	EmailCode getEmailCodeById(String emailCodeId);
	
	void updateEmailCode(EmailCode	 emailCode);
	
	EmailCode saveEmailCode(String emailAddress,String code,Integer expireTime, int type);
}
